package com.education.platform.api.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
* describe: 购买文章
* @author : tomato
* @date: 2020-06-16 11:49:53.439
**/
@ApiModel()
@Getter
@Setter
@ToString
public class BuyArticleVO {

    /**
     * 商品id
     */
    @ApiModelProperty("购买的id")
    @NotNull(message = "id不能为空")
	private Integer id;
    /**
     * 订单总价
     */
    @ApiModelProperty(value = "价格")
    @NotNull(message = "价格不能为空")
	private Float totalPrice;


    

}
